package com.maxmrl.hystrix.controller;

import com.maxmrl.hystrix.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author maxiao
 * @ClassName UserController
 * @Description //TODO $
 * @Date $ $
 * @desc
 **/
@RestController
@RequestMapping
public class UserController {

    @Autowired
    private UserService userService;

    @RequestMapping
    public String getString() {
        return userService.getTest();
    }


}
